import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import useTest from '@/utils/index'
import componentJs from '@/components/index'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import mixins from '@/mixins/index'
Vue.mixin(mixins)

Vue.use(ElementUI)
Vue.use(componentJs)
Vue.use(useTest, 123)
Vue.config.productionTip = false
Vue.prototype.$bus = new Vue()
new Vue({
  data () {
    return {
      test: '我是newVue()'
    }
  },
  router,
  store,
  render: h => h(App)
}).$mount('#app')
